package edu.cmu.aes.project2.wshelper;

import java.util.Arrays;
import java.util.Date;

public class Order {
	
	Order(){
		
	}
	Order(OrderItems[] order,String customerName,Date date,int quantity){
		setOrder(order);
		setCustomerName(customerName);
		setDate(date);
		setAmount(amount);
	}
	private OrderItems[] order;
	public OrderItems[] getOrder() {
		return order;
	}
	public void setOrder(OrderItems[] order) {
		this.order = order;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	private String customerName;
	@Override
	public String toString() {
		return "Order [order=" + Arrays.toString(order) + ", customerName="
				+ customerName + ", date=" + date + "]";
	}
	private Date date;
	private int amount,quantity;
	public int getAmount() {
		return amount;
	}
	public void setAmount(int amount) {
		this.amount = amount;
	}

}
